<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ include file="/system/include/taglib.jsp"%>
<html>
<head>
<base href="${pageScope.basePath }">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中山市中凯信息科技有限公司</title>
<link type="text/css" rel="stylesheet" href="system/css/style.css" />
<script type="text/javascript" language="javascript" src="system/js/public.js"></script>
</head>
<body>
<div class="main">
	<div class="position">当前位置: <a href="sysadm/desktop.jsp">桌 面</a> → 列表测试页</div>
	<div class="mainbody">
		<div class="operate_info">
			操作说明：
			<font color="#FF0000"><label id="explaininfo">&nbsp;</label></font>
		</div>
		<div class="table">
			<table width="100%" border="0" cellpadding="1" cellspacing="1" class="table_list">
				<tr>
					<th width="50">按钮ID</th>
					<th>按钮名称</th>
					<th>按钮说明</th>
					<th>操作键</th>
					<th>操作</th>
				</tr>
				
				<mytag:List table="Button" name="buttonList"  pageMax="10" orderBy="buttonId desc"></mytag:List>
					<logic:notEmpty name="buttonList">
					  <logic:iterate id="button" name="buttonList">
						<tr onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)">
							<td>${button.buttonId}</td>
							<td>${button.buttonName}</td>
							<td>${button.buttonNote}</td>
							<td>${button.actionKey}</td>
							<td >
								<input type="button" value="修改" class="system_button" onclick="location.href='${pageScope.basePath }system/config/button_manage_modify.jsp?button_id=${button.buttonId}'" />
								<input type="button" value="删除" class="system_button" onclick="location.href='${pageScope.basePath }system/config/button_manage_delete.jsp?button_id=${button.buttonId}'"/>
							</td>
						</tr>
					 </logic:iterate>
				  </logic:notEmpty>
				  
				 <logic:empty name="buttonList">
					<tr>
						<td colspan="5">暂无记录</td>
					</tr>
				 </logic:empty>
					 <tr>
						<td colspan="5" class="page" style="padding-top:10px;"><mytag:page /></td>
					</tr>
			</table>
		</div>
	</div>
</div>
</body>
</html>
